package demo.demo2;

import demo.demo1.Coffee;
import demo.demo1.LatteCoffee;

public class CoffeeStore {
    public static void main(String[] args) {
        LatteCoffeeFactory latteCoffee=new LatteCoffeeFactory();
        Coffee coffee=latteCoffee.createCoffee();
        System.out.println(coffee.getName());
        coffee.addMilk();
        coffee.addSugar();
    }
}
